package cn.kpi.dao.vtiondpline;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.kpi.common.persistence.MyBatisDao;
import cn.kpi.entity.vtiondpline.VtDpUserEntity;
import cn.kpi.entity.vtiondpline.VtDpUserListEntity;
import cn.kpi.entity.vtiondpline.VtDpUserLogEntity;

@MyBatisDao
public interface VtDpUserDao {
	public int InseretVtdpUser(VtDpUserEntity entity)throws Exception;
	public int InsertVtdpUserLog(VtDpUserLogEntity entity)throws Exception;
	public List<VtDpUserListEntity> GetUserVtDpList(@Param("where") String where)throws Exception;
	public int GetUserVtDpListCount(@Param("where") String where)throws Exception;
	public int UpdateVtDpUser(@Param("uservtdpid") Long uservtdpid,@Param("userid") Long userid,@Param("uservtdpdes") String uservtdpdes,@Param("status") int status,@Param("gdbyuserid")Long gdbyuserid)throws Exception;
	
	public List<VtDpUserListEntity> GetVtDpListByUserid(@Param("userid") Long userid)throws Exception;
	public VtDpUserListEntity GetUserVtDpByUservtdpid(@Param("uservtdpid") Long uservtdpid)throws Exception;
	
	public int UpdateVtDpUserEntity(VtDpUserEntity entity)throws Exception;
	
	public int DeleteVtDpUser(@Param("uservtdpid") Long uservtdpid)throws Exception;
	
	public List<VtDpUserListEntity> GetUserVtDpBcjkhList(@Param("where") String where)throws Exception;
	public int GetUserVtDpBcjkhListCount(@Param("where") String where)throws Exception;
	
	public List<VtDpUserListEntity> GetVtDpListByUseridAndWhere(@Param("userid") Long userid,@Param("where") String where)throws Exception;
}
